{% extends "../../views/master.html" %}

{% block content %}
<script type='text/javascript' src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script>

var init = function() {

	$("#link").click(function() {
		console.log(window.opener);
		window.opener.say();
	});


}

$(document).ready(init);


</script>

<a href="#" id="link">test</a>

{% endblock %}